<div id="component-select">

    <div class="title">
        请先选择菜单项所属组件
    </div>

    <volist name="componentinfo" id="vo">
        <div class="componentinfo">
            <eq name="vo.model" value="Custom">

                <empty name="Think.get.miid">
                        <a class="select" href="__APP__/MenuItem/add/mid/<{$Think.get.mid}>/cid/<{$vo.id}>/type/custom" >选择</a>
                    <else/>
                        <a class="select" href="__APP__/MenuItem/edit/mid/<{$Think.get.mid}>/cid/<{$vo.id}>/id/<{$Think.get.miid}>/type/custom" >选择</a>
                </empty>

             <else/>

                    <empty name="Think.get.miid">
                        <a class="select" href="__APP__/<{$vo.model}>/select/mid/<{$Think.get.mid}>/cid/<{$vo.id}>" >选择</a>
                        <else/>
                        <a class="select" href="__APP__/<{$vo.model}>/select/mid/<{$Think.get.mid}>/cid/<{$vo.id}>/miid/<{$Think.get.miid}>" >选择</a>
                    </empty>

            </eq>

            <p><{$vo.name}></p>
                <div class="content"><{$vo.description}></div>
        </div>

    </volist>

</div>
<script type="text/javascript" src="../Public/js/menuitem.js"></script>